package com.digital.smartgrow.entity.datacenter;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 合同信息
 * </p>
 *
 * @author xiewb
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("contract")
@ApiModel(value="Contract对象", description="合同信息")
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职工号")
    @TableField("employeeId")
    private String employeeId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "所在单位")
    @TableField("company")
    private String company;

    @ApiModelProperty(value = "合同编号")
    @TableField("contractNumber")
    private String contractNumber;

    @ApiModelProperty(value = "合同名称")
    @TableField("contractName")
    private String contractName;

    @ApiModelProperty(value = "合同类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "开始日期")
    @TableField("startDate")
    private String startDate;

    @ApiModelProperty(value = "结束日期")
    @TableField("endDate")
    private String endDate;

    @ApiModelProperty(value = "是否续签")
    @TableField("renewal")
    private String renewal;

    @ApiModelProperty(value = "实际终止日期")
    @TableField("realEndDate")
    private String realEndDate;

    @ApiModelProperty(value = "终止说明")
    @TableField("abortReason")
    private String abortReason;

    @ApiModelProperty(value = "合同状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "试用期结束日期")
    @TableField("trialEndDate")
    private String trialEndDate;

    @ApiModelProperty(value = "试用期实际结束日期")
    @TableField("trialRealEndDate")
    private String trialRealEndDate;

    @ApiModelProperty(value = "合同期限")
    @TableField("deadline")
    private String deadline;

    @ApiModelProperty(value = "描述")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "证明")
    @TableField("attchment")
    private String attchment;

    @ApiModelProperty(value = "数据类别")
    @TableField("dataType")
    private String dataType;


}
